<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <php> D('Member')->need_login();</php>
    <link type="text/css" rel="stylesheet" href="__CSS__/course.css"/>
    <script type="text/javascript" src="__JS__/common.js"></script>
</block>

<block name="body">
    <!--登录后显示个人区域-->
     <div class="col-xs-3">  
           
           <include file="Public/sidebar"  />
     </div>
     <!--/登录后显示个人区域-->


     <div class="col-xs-9 content">
     <div class="row">
        <!-- 右侧复选项 --> 
           <ul class="nav nav-tabs" >
            <li class="active">
              <a href="{:U('ClassCourse/index')}">班级课程设置</a>
            </li>
            <li >
              <a href="{:U('ClassCourse/setCurClass')}">设置当前班级</a>
            </li>
          </ul> 
       <!-- /右侧复选项 -->  

    <div class="white-box">
        <h3> &nbsp;&nbsp;<i class="icon icon-list-alt"></i>&nbsp;当前班级：<span style="color:#4444CC">{$curclass.bj_name} </span><span style="color:#CC4444">{$curclass.title}  </span></h3>

      <div class="data-table with-padding">
      <table class="table table-bordered with-padding ">
      <thead>
      <tr>
        <th>序号</th><th>班级</th><th>课程</th><th>上传文件格式</th><th>更新日期</th><th>操作</th>
      </tr>
      </thead>
      <tbody>
      <volist name="classlist" id="v" >
        <tr>
          <td>{$i}</td>
          <td>
          <eq name="v.bj_code" value="$Think.cookie.bj_code"><span style="color:#CC4444">
          {$v.bj_name}</span><else />
          <a href=" {$v.bj_code}" >
          {$v.bj_name}</a></eq>
          </td>
          <td>{$v.title}</td>
          <td>{$v.allow_ext}</td><td>{$v.update_time|date='Y-m-d',###}</td>
          <td>
          <a href="{:U('ClassCourse/selectBjCourse','bj_code='.$v['bj_code'])}"><i class="icon icon-exchange"></i>进度</a>|<a href=""><i class="icon icon-remove-circle"></i>取消</a></td>
        </tr>
        </volist>
      </tbody>
      </table>
      </div>
  </div></div></div>

</block>



